package com.bridgeintelligent.tag.webserver.workflow.repository;

import com.bridgeintelligent.tag.webserver.workflow.Node;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NodeMapper {
    void save(Node node);

    List<Node> findAll(@Param("workflowId") String workflowId);

    Node findOne(@Param("workflowId") String workflowId, @Param("order") int order);
}
